/*
 *  Copyright 2022 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

/* Generic */

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #f8f9fa;
  font-family: 'Poppins', sans-serif;
  font-feature-settings: normal !important;
}
a {
  color: #2eaadc;
  text-decoration: none;
}
a:hover,
a:focus {
  color: #2eaadc;
  text-decoration: none;
}

p {
  margin-bottom: 0px;
}

pre {
  font-family: 'Source Code Pro', sans-serif;
}

/* Bootstrap Extended */
.form-control:focus,
.btn.focus,
.btn:focus {
  box-shadow: none;
}
.table {
  color: #37352f;
}
.table td,
.table th {
  padding: 0.75em;
}
.text-success {
  color: #28a745 !important;
}
.text-danger {
  color: #cb2431 !important;
}
.text-warning {
  color: #e9a800 !important;
}
.text-info {
  color: #7558c1 !important;
}
.text-secondary {
  color: #c45296 !important;
}

.bg-success {
  color: #ffffff;
  background-color: #28a745 !important;
}
.bg-danger {
  color: #ffffff;
  background-color: #cb2431 !important;
}
.bg-warning {
  color: #ffffff;
  background-color: #e9a800 !important;
}
.bg-info {
  color: #ffffff;
  background-color: #7558c1 !important;
}
.bg-secondary {
  color: #ffffff;
  background-color: #c45296 !important;
}

/* Typography */
.quality-title {
  margin: 0;
  color: #37352f;
  font-weight: 600;
}
.quality-subtitle {
  margin: 0;
  color: #37352f;
  font-weight: 600;
}

/* Buttons */
.btn {
  font-weight: 600;
}
.btn-outline-primary {
  color: #2eaadc;
  border-color: #2eaadc;
}
.btn-outline-primary:hover {
  color: #2eaadc;
  background-color: rgba(46, 170, 220, 0.15);
  border-color: #2eaadc;
}
.btn-outline-primary:focus,
.btn-outline-primary.focus {
  box-shadow: none;
}
.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
  color: #2eaadc;
  background-color: transparent;
}
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
  color: #fff;
  background-color: #2eaadc;
  border-color: #2eaadc;
}
.btn-group-xs > .btn,
.btn-xs {
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1.25;
}

/* Header */
.icon-button {
  margin-right: 30px;
  cursor: pointer;
}
.header-links {
  margin-right: 15px;
}
.user-dropdown {
  height: 58px;
  background-color: transparent;
  border: none;
  border-radius: 0;
  color: #37352f;
  font-size: 21px;
  font-weight: 300;
}
.user-dropdown:hover,
.user-dropdown:focus {
  background-color: #e8e7e3;
  color: #37352f;
}
.dropdown-toggle::after {
  border-top: none;
  vertical-align: middle;
}
.show > .btn-primary.dropdown-toggle.user-dropdown,
.show > .btn-primary.dropdown-toggle.user-dropdown:focus {
  background-color: #e8e7e3;
  color: #37352f;
  box-shadow: none;
}
.search-grey {
  width: calc(100vw - 800px);
  background: #f8f9fa;
}
.search-grey::placeholder {
  color: #6b7280;
}
.global-search-select-menu {
  width: 110px !important;
}
.appbar-search .rc-virtual-list-holder {
  max-height: max-content;
}

/* Breadcrumb */
.breadcrumb {
  padding: 0;
  margin: 0;
  background-color: transparent;
}
.breadcrumb li a,
.breadcrumb li span {
  font-size: 14px;
  color: #37352f;
}

/* Nav-bar */
.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}
.nav-link {
  padding: 20px !important;
  color: #76746f;
}
.active-link {
  color: #37352f;
  background-color: transparent;
}
.nav-link.active,
.dropdown.nav-item.active {
  color: #37352f;
  background-color: transparent;
}

.dropdown-item.active,
.dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #d1d5db;
}

/* Sidebar */
.sidebar {
  background: #f7f6f3;
  transition: width 0.2s linear;
  height: 100vh;
}
.expanded-sidebar {
  width: 220px;
}
.collapsed-sidebar {
  width: 100px;
}
.sidebar-header {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid #e2dfd4;
  height: 60px;
}
.sidebar-item {
  padding: 15px 30px;
  color: #76746f;
  font-weight: 600;
}
.sidebar-item:hover,
.sidebar-item.active {
  color: #37352f;
  background-color: #e8e7e4;
}

/* Main Page */
.min-h-100 {
  min-height: 100%;
}
.search-wrapper {
  display: flex;
  padding: 10px 30px;
  background: #f5f8fa;
}
.content-wrapper {
  position: relative;
  flex-shrink: 1;
  width: 100%;
}
.page-layout {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: flex-start;
  position: relative;
  height: 100%;
}

.search-wrapper + .page-container {
  height: calc(100% - 104px);
}

/* redoc css */
.menu-content {
  height: calc(100vh - 65px) !important;
}

/* Widget Box */
.sl-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
  background: #ffffff;
  border: 1px solid #e1e4e8;
  box-sizing: border-box;
  border-radius: 5px;
  margin-bottom: 1rem;
}
.sl-box .sl-box-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 8px 12px;
}
.sl-box .sl-box-header .sl-title {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0;
  font-size: 1rem;
  line-height: 18.75px;
  font-weight: 500;
}

.sl-box .sl-box-header .sl-title .sl-box-badge {
  margin-left: 10px;
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 5px;
}
.sl-box .sl-box-header .sl-title-big {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0;
  font-size: 1.375em;
  line-height: 2em;
  font-weight: 600;
}
.sl-box .sl-box-header .sl-box-tools .btn + .btn {
  margin-left: 5px;
}
.sl-box .sl-box-body {
  padding: 0 12px 8px;
}
.sl-box .sl-box-body p {
  margin-bottom: 6px;
}
.sl-box-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 5px 10px;
  color: #37352f;
  background: rgba(233, 168, 0, 0.15);
  font-size: 0.875em;
  line-height: 1;
  border-radius: 4px;
}
.sl-box-link {
  display: inline-block;
  margin-left: 50px;
}
.sl-query {
  padding: 8px;
  background: #f7f6f3;
  border: 1px solid #d1cfc7;
  border-radius: 4px;
}
.sl-query pre {
  margin: 5px 0 0;
}

/* Badge Colors */
.badge-default {
  color: #37352f;
  background: rgb(94, 92, 88, 0.15);
}
.badge-table {
  color: #7558c1;
  background: rgba(117, 88, 193, 0.15);
}

.badge-query {
  color: #00977e;
  background: rgba(0, 151, 126, 0.15);
}

.badge-dashboard {
  color: #c45296;
  background: rgba(196, 82, 150, 0.15);
}

.badge-metrics {
  color: #e9a800;
  background: rgba(233, 168, 0, 0.15);
}

/* Labels */
.sl-label {
  display: inline-block;
  padding: 4px 12px;
  color: #37352f;
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}
.sl-label.uuid {
  color: #7558c1;
  background-color: rgba(117, 88, 193, 0.15);
}
.sl-label.numeric {
  color: #2eaadc;
  background-color: rgba(46, 170, 220, 0.15);
}
.sl-label.varchar {
  color: #c45296;
  background: rgba(196, 82, 150, 0.15);
}
.sl-label.timestamp {
  color: #00977e;
  background: rgba(0, 151, 126, 0.15);
}
.sl-label.boolean {
  color: #e9a800;
  background: rgba(233, 168, 0, 0.15);
}

/* Page Search Bar */
/* .page-search-bar {
  margin-bottom: 1em;
} */
.page-search-bar label {
  font-size: 1.25em;
  color: #37352f;
  font-weight: 600;
}
.page-search-bar .input-group {
  border-style: solid;
  border-color: #ccc;
  border-width: 2px 1px 1px 2px;
}
.page-search-bar .input-group-text {
  background-color: transparent;
  border: none;
  border-radius: 0;
}
.page-search-bar .form-control {
  border: none;
  padding-left: 0;
  border-radius: 0;
}

/* My Data - Details */
.mydata-summary {
  display: flex;
  padding: 10px 15px;
  margin-bottom: 1em;
  background: #f7f6f3;
  border: 1px solid #d1cfc7;
  border-radius: 4px;
}
.mydata-summary > div {
  flex: 1 1 auto;
}
.mydata-summary p {
  margin-bottom: 5px;
}
.tier-badge {
  display: inline-block;
  padding: 6px 10px;
  background-color: #76746f;
  color: #fff;
  font-size: 80%;
  font-weight: 600;
  line-height: 1;
  border-radius: 4px;
}
.last-runs {
  display: inline-block;
  white-space: nowrap;
}
.last-runs span {
  display: inline-block;
  margin-left: 4px;
  padding: 4px 8px;
  line-height: 1;
  font-weight: 600;
}
.table-quality {
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
}
.table-data thead th {
  background-color: #f7f6f3;
}
.mydata-tabs {
  margin: 0 -30px;
  padding: 0 30px;
}
.mydata-tabs.nav-tabs .nav-link {
  color: #76746f;
}
.mydata-tabs.nav-tabs .nav-link:focus,
.mydata-tabs.nav-tabs .nav-link:hover {
  color: #2eaadc;
  border-color: transparent;
}
.mydata-tabs.nav-tabs .nav-link.active {
  color: #37352f;
  border-top: 2px #2eaadc solid;
}
.mydata-tabs.nav-tabs .nav-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.mydata-tabs.nav-tabs .nav-link.active:focus,
.mydata-tabs.nav-tabs .nav-link.active:hover {
  border-color: #2eaadc #dee2e6 #fff;
}
.table-data td {
  white-space: nowrap;
}
.page-title {
  font-weight: 600;
}

/* Issues Tab */
.issue-header {
  padding: 10px 15px;
  background: rgba(255, 193, 67, 0.15);
  border: 1px solid #cccccc;
}
.issue-header .btn-link {
  padding: 0;
  color: #76746f;
}
.issue-list {
  padding: 10px 15px;
  border: 1px solid #cccccc;
  border-top: 0;
}
.issue-title {
  font-weight: 600;
  margin-bottom: 0;
}
.issue-label {
  font-size: 0.75em;
  padding: 3px 9px;
  background-color: #cfe7e2;
  margin-right: 5px;
  border-radius: 4px;
}

/* Toggle Switch */
.toggle-container {
  display: inline-block;
}
.toggle-container > label {
  margin: 0 5px;
}
.toggle-container > .toggle-label {
  display: inline-block;
  font-weight: 600;
}
.cb-toggle-switch {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 1.5em;
}
.cb-toggle-switch .toggle-checkbox {
  opacity: 0;
  width: 0;
  height: 0;
  outline: none;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border: 1px solid #ccc;
}
.toggle-slider:before {
  position: absolute;
  content: '';
  height: 15px;
  width: 15px;
  left: 3px;
  bottom: 2px;
  background-color: #ccc;
  transition: 0.4s;
}
.toggle-checkbox:checked + .toggle-slider:before {
  background-color: #2eaadc;
}
.toggle-checkbox:checked + .toggle-slider {
  background: rgba(46, 170, 220, 0.15);
  border: 1px solid #2eaadc;
}
.toggle-checkbox:focus + .toggle-slider {
  box-shadow: 0 0 1px #2196f3;
}
.toggle-checkbox:checked + .toggle-slider:before {
  -webkit-transform: translateX(12px);
  -ms-transform: translateX(12px);
  transform: translateX(12px);
}
.toggle-slider.toggle-round {
  border-radius: 10px;
}
.toggle-slider.toggle-round:before {
  border-radius: 50%;
}

/* Miscellaneous */
.btn-like {
  color: #cccccc;
  border-color: #cccccc;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.125em 0.75em;
}
.btn-like:hover {
  color: #76746f;
  border-color: #76746f;
}
.btn-like.liked {
  color: #2eaadc;
  border-color: #2eaadc;
}

.date-seperator {
  position: relative;
  width: 100%;
  text-align: center;
  flex: 0 0 100%;
  z-index: 1;
}
.date-seperator:before {
  position: absolute;
  left: 0;
  content: ' ';
  width: 100%;
  top: 15px;
  height: 1px;
  background-color: #d1cfc7;
  display: inline-block;
  z-index: -1;
}
.date-seperator span {
  display: inline-block;
  padding: 0 30px;
  background: white;
  color: #76746f;
  font-weight: 600;
  line-height: 2em;
  border: 1px solid #d1cfc7;
  border-radius: 20px;
  z-index: 2;
}

/* popover css start */
.tippy-popper {
  pointer-events: auto !important;
}
.v-align-sub {
  vertical-align: sub;
}
/* popover css end */

.text-highlighter {
  background-color: #ffc34e40;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

body .profiler-graph .recharts-active-dot circle {
  fill: #ff4c3b;
}

/* React flow */
.react-flow {
  height: 110%;
}
.react-flow__node {
  min-width: max-content;
}
.react-flow__background {
  background-image: url('../assets/img/graph-bg.png');
  background-repeat: repeat;
}

.leaf-node .react-flow__handle {
  background-color: #6b7280;
}
.leaf-node.core .react-flow__handle {
  background-color: #0079ff;
}
.react-flow__edge {
  pointer-events: all;
  cursor: pointer;
}

.react-flow__edge.selected .react-flow__edge-path {
  stroke: #0079ff;
}

.react-flow__node-default,
.react-flow__node-group,
.react-flow__node-input,
.react-flow__node-output {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0px !important;
}

.react-flow__attribution > a {
  color: #fff !important;
}

/* EntityVersion  */

.version-data {
  width: calc(100% - 330px);
}

/* page-container v1 */

.full-height {
  height: calc(100vh - 110px);
}

/* 64 header + ( 16 + 16 )spacing Y = 96*/
#left-panel {
  position: fixed;
  overflow-y: scroll;
  width: 304px;
  height: calc(100vh - 96px);
}

#right-panel {
  grid-area: rightsidebar;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  left: 0;
  overflow-y: scroll;
}
#center {
  grid-area: centerarea;
  overflow-y: inherit;
}

/* Hide scrollbar for Chrome, Safari and Opera */
#center::-webkit-scrollbar,
#left-panel::-webkit-scrollbar,
#right-panel::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
#center,
#left-panel,
#right-panel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.page-layout-container {
  display: grid;
  grid-auto-flow: column;
  position: relative;
}
.page-layout-container.l3-col {
  grid-template-columns: 304px auto 304px;
}
.page-layout-container.l2-ltr-col {
  grid-template-columns: 350px auto auto;
}
.page-layout-container.l2-rtl-col {
  grid-template-columns: auto auto 350px;
}

.page-layout-container-left-center-right {
  grid-template-areas: 'leftsidebar centerarea rightsidebar';
}
.page-layout-container-left-center {
  grid-template-areas: 'leftsidebar centerarea centerarea';
}
.page-layout-container-center-right {
  grid-template-areas: 'centerarea centerarea rightsidebar';
}
.page-layout-container-center {
  grid-template-areas: 'centerarea centerarea centerarea';
}

/* Feed CSS */

.feed-change-description {
  /* display: inline; */
  padding: 2px 3px;
  border-radius: 4px;
  background: #ebeef1;
  font-size: 90%;
  /* margin-left: 8px; */
}

.on-scroll-blur-white {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 26%,
    rgba(255, 255, 255, 0) 74%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none; /* so the text is still selectable */
}

.on-scroll-blur-body {
  background: linear-gradient(
    to top,
    rgba(248, 249, 250, 1) 0%,
    rgba(255, 255, 255, 0) 26%,
    rgba(255, 255, 255, 0) 74%,
    rgba(248, 249, 250, 1) 100%
  );
  pointer-events: none; /* so the text is still selectable */
}

.see-more-blur-white {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1) 10%,
    rgba(255, 255, 255, 0) 36%
  );
  pointer-events: none; /* so the text is still selectable */
}

.see-more-blur-body {
  background: linear-gradient(
    to top,
    rgba(248, 249, 250, 1) 10%,
    rgba(255, 255, 255, 0) 36%
  );
  pointer-events: none; /* so the text is still selectable */
}

.see-more-blur {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1) 20%,
    rgba(255, 255, 255, 0) 42%
  );
  pointer-events: none; /* so the text is still selectable */
}
.tableBody-row:hover .see-more-blur {
  background: linear-gradient(
    to top,
    rgba(245, 246, 248, 1) 20%,
    rgba(255, 255, 255, 0) 42%
  );
  pointer-events: none; /* so the text is still selectable */
}

.entity-feed-list {
  grid-template-columns: 200px auto 200px;
}

.feed-meesage > div > p:last-child {
  margin-bottom: 0px;
}

code {
  padding: 2px 3px;
  border-radius: 4px;
  background: #ebeef1;
  font-size: 90%;
  font-family: 'Source Code Pro', sans-serif;
}

/* Markdown with preview editor css */
.public-DraftStyleDefault-block {
  margin: 0;
}

/* page not found css */

.page-not-found-container {
  width: 100%;
  height: calc(100% - 68px);
  display: flex;
}

.page-not-found-container::after,
.page-not-found-container::before {
  content: '';
  width: 100%;
}

.page-not-found-container::after {
  background-color: #f8f9fa;
}
.page-not-found-container::before {
  background-color: #fff;
}

.topic-sample-data > .CodeMirror {
  height: auto !important;
}

.topic-sample-data-message {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-height: 18px;
  max-height: 54px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ant-btn-text:hover span {
  text-decoration: underline;
  color: #0079ff;
  background-color: transparent;
}

.ant-card-body {
  padding: 14px;
}

.ant-card-feed > .ant-card-body {
  padding-bottom: 0px;
}

.ant-card-head-title {
  padding: 8px 0px;
}

.ant-card-head {
  border-bottom: 1px solid #dce3ec;
  padding: 0 18px;
}

.custom-entity-schema > .CodeMirror {
  height: 70vh;
}

.ant-card-head {
  padding: 0 14px;
  font-size: 14px;
  min-height: 20px;
}

.ant-card-extra {
  padding: 0px;
}
/* 
*/
/* Reaction CSS Start */
.ant-btn-add-reactions:hover,
.ant-btn-add-reactions:focus {
  color: #0079ff;
  border-color: #0079ff;
}

.ant-btn-reaction,
.ant-btn-popover-reaction {
  height: auto;
  padding: 0 8px;
  font-size: 16px;
  font-weight: 500;
  background-color: transparent;
}

.ant-btn-popover-reaction:hover {
  background-color: #0079ff60;
}

.ant-btn-reaction:hover,
.ant-btn-isReacted {
  color: #0079ff;
  border-color: #0079ff;
}

.ant-btn-isReacted:hover {
  color: #0079ff;
  border-color: #0079ff80;
}

.ant-btn-popover-isReacted,
.ant-btn-popover-isReacted:hover {
  background-color: #0079ff60;
}

/* Reaction CSS End */
.ant-advaced-field-select {
  color: #0079ff;
  min-width: 130px;
}
.ant-suggestion-dropdown {
  min-width: 200px !important;
}
.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
  background-color: #dbd1f9;
}

@media only screen and (max-width: 1440px) {
  #left-panel {
    width: 284px;
  }

  .page-layout-container.l3-col {
    grid-template-columns: 284px auto 284px;
  }
}

/* Description CSS */

.description,
.break-all {
  word-break: break-all;
}

/* Antd custom button CSS */
.ant-btn-link-custom,
.ant-btn-link-custom:hover {
  color: #0079ff;
}
.ant-dropdown-button.ant-btn-primary-dropdown > .ant-btn-primary,
.ant-btn-primary-custom {
  background: #0079ff;
  color: #ffffff;
  border-color: #0079ff;
}

.ant-dropdown-button.ant-btn-primary-dropdown
  > .ant-btn-primary.ant-btn-icon-only {
  background: #0079ff;
  color: #ffffff;
  border-color: #0079ff;
  border-left-color: #ffffff;
}
.ant-btn-primary-custom:hover,
.ant-dropdown-button.ant-btn-primary-dropdown > .ant-btn-primary,
.ant-btn-primary-custom span:hover {
  background: #0079ff;
  color: #ffffff;
  border-color: #0079ff;
  text-decoration: none;
}

.ant-btn-group .ant-btn-primary:first-child:not(:last-child) {
  border-right-color: #ffffff;
}
/* Antd custom button CSS */

.ant-select-custom {
  width: 100%;
  margin: 8px 0px;
  outline: none;
}
.ant-select-custom:not(.ant-select-disabled):hover .ant-select-selector {
  border-color: #0079ff;
}
.ant-select-focused {
  border-color: #0079ff;
  outline: none;
}

/* Description tabs CSS */
.ant-tabs-description {
  margin-top: 8px;
}

.ant-tabs-description > .ant-tabs-nav {
  margin-bottom: 0px;
}
.ant-tabs-description
  > .ant-tabs-nav
  > .ant-tabs-nav-wrap
  > .ant-tabs-nav-list
  > .ant-tabs-tab.ant-tabs-tab-active
  .ant-tabs-tab-btn,
.ant-tabs-description
  > .ant-tabs-nav
  > .ant-tabs-nav-wrap
  > .ant-tabs-nav-list
  > .ant-tabs-tab:hover,
.ant-tabs-custom-line
  > .ant-tabs-nav
  > .ant-tabs-nav-wrap
  > .ant-tabs-nav-list
  > .ant-tabs-tab.ant-tabs-tab-active
  .ant-tabs-tab-btn,
.ant-tabs-custom-line
  > .ant-tabs-nav
  > .ant-tabs-nav-wrap
  > .ant-tabs-nav-list
  > .ant-tabs-tab:hover {
  color: #0079ff;
}
.ant-tabs-custom-threadpanel > .ant-tabs-nav > .ant-tabs-nav-wrap {
  padding: 0px 16px;
}
.ant-tabs-ink-bar {
  background: #0079ff;
}
/* Description tabs CSS */

/* Task Detail Side CSS */

.ant-layout-sider-task-detail {
  background: #ffffff;
  border: 1px solid #dde3ea;
  box-shadow: -1px 3px 6px rgba(0, 0, 0, 0.06);
  padding: 16px;
  padding-top: 0px;
  overflow-y: auto;
}

/* Task Detail Side CSS */
.data-box {
  padding: 8px 12px;
}

.data-box.Successful {
  background-color: #28a745;
}

.data-box.Failed {
  background-color: #cb2431;
}

.data-box.Pending {
  background-color: #1890ff;
}

.exec-date-time {
  position: absolute;
  left: 15px;
  top: -20px;
  font-size: 12px;
  text-align: center;
  white-space: pre;
  transform-origin: 0% 50%;

  transform: rotate(-70deg);
  /* Safari */
  -webkit-transform: rotate(-70deg);
  /* Firefox */
  -moz-transform: rotate(-70deg);
  /* IE */
  -ms-transform: rotate(-70deg);
}

.leaf-node.Successful .task-node {
  border-color: #07a35a;
  background-color: #07a35a40;
}

.leaf-node.Failed .task-node {
  border-color: #e54937;
  background-color: #e5493740;
}

.leaf-node.Pending .task-node {
  border-color: #276ef1;
  background-color: #276ef140;
}

.leaf-node.Successful .react-flow__handle {
  background-color: #07a35a !important;
}

.leaf-node.Failed .react-flow__handle {
  background-color: #e54937 !important;
}

.leaf-node.Pending .react-flow__handle {
  background-color: #276ef1 !important;
}

.ProseMirror .placeholder {
  color: #6b7280 !important;
}
div.ant-typography-ellipsis-custom {
  margin-bottom: 0px;
}

.user-profile-antd-card .ant-card-body:first-child {
  padding: 0px;
  overflow: hidden;
}

.add-webhook-container #center {
  padding-right: 0px;
}

.ant-dropdown-menu-item-selected {
  color: #0079ff;
  background-color: #0079ff25;
}

.table-query-editor pre.CodeMirror-line {
  padding-right: 60px !important;
}

/* antd switch css */
.ant-switch-checked {
  background: #0079ff;
}
/* antd switch css */

.ant-empty-tasks {
  margin-top: 32px;
}

/* Feed text pre tag CSS */
.activity-feed-card-text {
  padding-top: 6px;
}

.activity-feed-card-text pre {
  white-space: pre-wrap; /* Since CSS 2.1 */
}
/* Feed text pre tag CSS */

.ant-switch-checked {
  background: rgb(244, 240, 253);
}

/* 64 header + ( 16 + 16 )spacing Y = 96*/
.left-panel-container {
  height: calc(100vh - 96px);
  border: 1px solid rgb(229, 231, 235);
  border-radius: 4px;
  box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.06);
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.left-panel-container::-webkit-scrollbar {
  display: none;
}

/**
* This is to override tailwind default behavior for svg alignment
* It was causing issue to antD styling hence resetting it to default
*/
svg {
  vertical-align: baseline;
}

/**
* Style for Antd Form Item Extra
*/
.help-text {
  box-decoration-break: clone;
}
